
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

package com.hlkj.pay.vo.admin.req.user;

import com.hlkj.framework.common.valid.EnumValid;
import com.hlkj.pay.enums.AdminUserEnum;
import com.hlkj.pay.dto.common.GeetestValidate;
import com.hlkj.pay.vo.BaseReq;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author HlpayTeam
 * @date 2024/09/04 16:59
 */
@Data
public class AdminAuthCodeReq extends BaseReq {
	private static final long serialVersionUID = 2861488672706847029L;
	@Schema(description = "极验参数")
	@NotNull(message = "极验参数必填")
	private GeetestValidate verification;
	@Schema(description = "手机号 用户登录必填")
	private String phone;
	@Schema(description= "场景 1 忘记密码 2 修改密码 3 用户登录 4 用户注册 5 修改手机号 6 修改交易密码 7 找回交易密码 8 代付")
	@EnumValid(value = AdminUserEnum.AdminAuthCodeEnum.class,message = "场景类型无效")
	private Integer businessScenario;
	@Schema(description= "业务参数 当前支付代付 有通道SN编码")
	private String businessParams;
}
